Skip to content

Conversation

@sympatheticmoose
Copy link
Contributor

Add a new validator rule to detect deviations from Grafana plugin tooling to ensure consistency and proper project structure.


Slack Thread

Open in Cursor Open in Web

… plugin tooling

This adds a new analyzer that checks if a plugin's source code uses Grafana's
standard plugin tooling (create-plugin). The analyzer checks for:

- Presence of .config directory in source code
- @grafana/create-plugin or related tooling packages in package.json devDependencies

For new plugins, violations are reported as errors. For already published
plugins, they are reduced to warnings to allow for gradual migration.

Closes #507
@cursor
Copy link

cursor bot commented Feb 11, 2026

Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

1 similar comment
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@grafana-plugins-platform-bot grafana-plugins-platform-bot bot moved this from 📬 Triage to 🔬 In review in Grafana Catalog Team Feb 11, 2026
cursoragent and others added 2 commits February 11, 2026 13:45
Extended the toolingcompliance analyzer to include:
- Check for webpack.config.ts extending from .config/webpack
- Check for tsconfig.json extending from .config/tsconfig.json
- Check for standard package.json scripts (dev, build, test, lint)
- Added ToolingDeviationScore to quantify deviation level

Added new test cases covering:
- Fully compliant plugins
- Custom webpack configs that don't extend .config
- Missing standard scripts
- Various edge cases

Closes #507

Co-authored-by: Timur Olzhabayev <timur@timur.digital>
- Removed the 'skipped' message from semvercheck analyzer when blocking
  analyzers have errors to avoid changing expected integration test output
- Regenerated README.md to include new analyzers in the table

Co-authored-by: Timur Olzhabayev <timur@timur.digital>
@academo academo closed this Feb 12, 2026
@github-project-automation github-project-automation bot moved this from 🔬 In review to 🚀 Shipped in Grafana Catalog Team Feb 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🚀 Shipped

Development

Successfully merging this pull request may close these issues.

4 participants